package com.zdy.im.user.vo.request;

import com.sixeco.framework.common.api.ApiDesc;
import com.sixeco.framework.http.data.vo.RequestParserVo;

public class RoomInfoRequestVo extends RequestParserVo {

    /** roomId 群id  */
    @ApiDesc(value = "群id", required = 1)
    private long roomId;
    /** roomNotice 公告  */
    @ApiDesc(value = "公告", required = 0)
    private String roomNotice;
    /** remarks 简介  */
    @ApiDesc(value = "简介", required = 0)
    private String remarks;
    /** roomName 群名称  */
    @ApiDesc(value = "群名称", required = 1)
    private String roomName;
    @ApiDesc(value = "全群禁言(1：已禁言,-1：未禁言)", required = 0)
    private int forbidSpeech;

    public static RoomInfoRequestVo build(){
        return new RoomInfoRequestVo();
    }

    public RoomInfoRequestVo toRoomId(long roomId) {
        this.roomId = roomId;
        return this;
    }

    public RoomInfoRequestVo toRoomNotice(String roomNotice) {
        this.roomNotice = roomNotice;
        return this;
    }

    public long getRoomId() {
        return roomId;
    }

    public void setRoomId(long roomId) {
        this.roomId = roomId;
    }

    public String getRoomNotice() {
        return roomNotice;
    }

    public void setRoomNotice(String roomNotice) {
        this.roomNotice = roomNotice;
    }

    public RoomInfoRequestVo toRemarks(String remarks) {
        this.remarks = remarks;
        return this;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public RoomInfoRequestVo toRoomName(String roomName) {
        this.roomName = roomName;
        return this;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public RoomInfoRequestVo toForbidSpeech(int forbidSpeech) {
        this.forbidSpeech = forbidSpeech;
        return this;
    }

    public int getForbidSpeech() {
        return forbidSpeech;
    }

    public void setForbidSpeech(int forbidSpeech) {
        this.forbidSpeech = forbidSpeech;
    }
}
